package com.android.duininsuoai.utils;

import android.util.Log;

/**
 * Created by Administrator on 13-11-5.
 */
public class ReleaseManager {
    /**
     * false表示打印
     * true表示不打印
     */
    public static final boolean releaseStatus = false;

    /**
     * @param title
     * @param content
     */
    public static void printLog(String title, String content) {
        if (!releaseStatus) {
            Log.e("aishangauction:" + title + ":", content);
        }
    }

    public static void printLog(String content) {
//        if (!releaseStatus) {
//            Log.d("youshi_log:" + ":", content);
//        }
        if (!releaseStatus)
        printLog("", content);
    }

    public static void printCurrentTime(String title) {
//        if (!releaseStatus) {
//            long currentTime = System.currentTimeMillis();
//            Log.d("youshi_log:" + title + ":", String.valueOf(currentTime));
//        }
        if (!releaseStatus)
        printLog(title, String.valueOf(System.currentTimeMillis()));
    }
}
